package com.zzyl.nursing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.nursing.dto.NursingTaskPageDto;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import com.zzyl.nursing.domain.NursingTask;

/**
 * nursingTaskMapper接口
 * 
 * @author ruoyi
 * @date 2025-10-29
 */
@Mapper
public interface NursingTaskMapper extends BaseMapper<NursingTask>
{
    /**
     * 查询nursingTask
     * 
     * @param id nursingTask主键
     * @return nursingTask
     */
    public NursingTask selectNursingTaskById(Long id);

    /**
     * 查询nursingTask列表
     * 
     * @param nursingTask nursingTask
     * @return nursingTask集合
     */
    public List<NursingTask> selectNursingTaskList(NursingTaskPageDto nursingTask);

    /**
     * 新增nursingTask
     * 
     * @param nursingTask nursingTask
     * @return 结果
     */
    public int insertNursingTask(NursingTask nursingTask);

    /**
     * 修改nursingTask
     * 
     * @param nursingTask nursingTask
     * @return 结果
     */
    public int updateNursingTask(NursingTask nursingTask);

    /**
     * 删除nursingTask
     * 
     * @param id nursingTask主键
     * @return 结果
     */
    public int deleteNursingTaskById(Long id);

    /**
     * 批量删除nursingTask
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNursingTaskByIds(Long[] ids);
}
